package com.lj.back.manage.scaffold.module.sys.enums;

import com.lj.back.manage.scaffold.common.response.Response;
import com.lj.back.manage.scaffold.common.util.EnumValid;

/**
 * 菜单类型
 * @author lv
 * @version 1.0.0
 */
public enum MenuTypeEnum implements EnumValid, Response {

    /**
     * 目录类型
     */
    LIST("1","目录"),

    /**
     * 菜单类型
     */
    MENU("2","菜单"),

    /**
     * 按钮类型
     */
    BUTTON("3","按钮")
    ;

    private String code;

    private String message;

    MenuTypeEnum(String code, String message){
        this.code = code;
        this.message = message;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    @Override
    public String getCode() {
        return this.code;
    }
}
